package ai.people.platform.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * 系统应用程序
 *
 * @author yuanqinglong
 * @date 2022/3/4 15:44
 */
@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true)
@MapperScan("ai.people.platform.system.mapper")
@SpringBootApplication
public class SystemApplication9014 {


    static {
        System.setProperty("druid.mysql.usePingMethod", "false");
    }

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication9014.class, args);
    }


}
